import QtQuick 2.1
import QtQuick.Controls 1.0
import QtQuick.Controls.Styles 1.0
//import QtQuick.Window 2.0
import "pages"
//PG_currentCol{}/*
//PG_proposalA{}
Item {
    id: desk
    width: 800
    height: 480
    Loader
    {
        id: pageLoader
        width: 800
        height: 480
        source: "pages/PG_collections.qml"
    }
    Connections {
        target: pageLoader.item
        onGoSeeItems:
        {
            pageLoader.source = "pages/PG_currentCol.qml"
        }
    }
    Rectangle
    {
        anchors.bottom: parent.bottom
        width: 150
        height: 20
        Row
        {
            Rectangle
            {
                width: 30
                height: 20
                color: "#aa11aa"
                MouseArea {
                    anchors.fill: parent
                    onClicked:
                    {
                        pageLoader.source = "pages/PG_choiceAuc.qml"
                    }
                }
            }
            Rectangle
            {
                width: 30
                height: 20
                color: "#aa33aa"
                MouseArea {
                    anchors.fill: parent
                    onClicked:
                    {
                        pageLoader.source = "pages/PG_collections.qml"
                    }
                }
            }
            Rectangle
            {
                width: 30
                height: 20
                color: "#aa55aa"
                MouseArea {
                    anchors.fill: parent
                    onClicked:
                    {
                        pageLoader.source = "pages/PG_currentCol.qml"
                    }
                }
            }
            Rectangle
            {
                width: 30
                height: 20
                color: "#aa77aa"
                MouseArea {
                    anchors.fill: parent
                    onClicked:
                    {
                        pageLoader.source = "pages/PG_proposalA.qml"
                    }
                }
            }
            Rectangle
            {
                width: 30
                height: 20
                color: "#aa99aa"
                MouseArea {
                    anchors.fill: parent
                    onClicked:
                    {
                        pageLoader.source = "pages/PG_proposalB.qml"
                    }
                }
            }
        }
    }
}
